package one.stand.controller;

import one.stand.model.ResultModel;
import one.stand.request.InputDealMoneyRequest;
import one.stand.response.InputDealMoneyResponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author Administrator
 */
@RestController
@RequestMapping("inputDealMoney")
public class InputDealMoneyController extends BaseController {

    @PostMapping("getInputDealList")
    public ResultModel<List<InputDealMoneyResponse>> getInputDealList(@RequestBody InputDealMoneyRequest request) {
        return inputDealMoneyService.getInputDealList(request);
    }
}
